<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>提现银行卡</title>
    <script src="../js/base.js"></script>
</head>
<style type="text/css">
    body {
        background: #1D1E23;
    }

    .top {
        height: 50px;
        line-height: 50px;
        background-color: #424242;
        text-align: center;
        font-size: 18px;
    }

    .left_arrow {
        width: 23px;
        height: 25px;
        top: 13px;
        left: 15px;
        background-size: 50%;
        position: absolute;
        background-image: url(../img/arrow_left.png);
        z-index: 100;
    }

    .account_item {
        padding: 10px 15px;
        background-color: #424242;
    }

    .bankpic {
        float: left;
        margin-right: 7px;
        width: 37px;
        height: 37px;
    }

    .bankpic img {
        width: 100%;
    }

    .arrow:after {
        content: '';
        display: inline-block;
        width: 8px;
        height: 13px;
        margin-left: 5px;
        position: relative;
        top: 2px;
        background-size: cover;
        background-image: url(../img/arraw_right.png);
    }

    .noti {
        padding: 0px 15px;
    }

    .txje {
        color: #f0f0ef;
        font-size: 22px;
        border-bottom: 1px solid #5b5a5a;
        padding-top: 2%;
        margin-bottom: 2%;
    }

    .txje input {
        background: #424242;
        color: #d3d3d3;
        font-size: 20px;
    }

    .qbtx {
        float: right;
        color: #D3B581;
    }

    .buon {
        width: 90%;
        font-size: 18px;
        color: #333;
        padding: 1.5%;
        background: #ccc;
        margin: 0 auto;
        border-radius: 5px;
        text-align: center;
        margin-top: 5%;
        box-sizing: border-box;
    }
</style>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
    window.onload = function () {
        var ip = document.getElementById("ip");
        ip.value = returnCitySN["cip"];
    };
</script>
<body>
<input type="hidden" id="balance" value="${user.balance}">
<form id="tixian" action="/put/index" method="post">
    <input type="hidden" name="name" value="充值">
    <input type="hidden" name="mobile" value="${user.mobile}">
    <input type="hidden" name="ip" id="ip" value="">
    <div class="top"><span class="left_arrow bgBox" onclick="javascript:history.back(-1);"></span>提现银行卡</div>
    <div class="account_item mt10 color999 f14">
        <div class="bankpic">
        <#--<#list bangdingBanks as bangding>-->
            <#if '${BankName}'=='工商银行'>
                <img src="../img/bank-img/gongshang.png">
            </#if>
            <#if '${BankName}'=='建设银行'>
                    <img src="../img/bank-img/jianshe.png">
            </#if>
            <#if '${BankName}'=='交通银行'>
                    <img src="../img/bank-img/jiaotong.png">
            </#if>
            <#if '${BankName}'=='农业银行'>
                    <img src="../img/bank-img/nongye.png">
            </#if>
            <#if '${BankName}'=='邮储银行'>
                    <img src="../img/bank-img/youzheng.png">
            </#if>
            <#if '${BankName}'=='中国银行'>
                    <img src="../img/bank-img/zhongguo.png">
            </#if>
        <#--</#list>-->
        </div>
        <div class="color_ef f14">
            <#if '${BankName}'=='工商银行'>
                       中国${BankName}
            </#if>
            <#if '${BankName}'=='建设银行'>
                   中国${BankName}
            </#if>
            <#if '${BankName}'=='交通银行'>
                   中国${BankName}
            </#if>
            <#if '${BankName}'=='农业银行'>
                   中国${BankName}
            </#if>
            <#if '${BankName}'=='邮储银行'>
                   中国邮政储蓄银行
            </#if>
        </div>
        <div class="f14">尾号${BankAccount}</div>
    </div>
    <div class="account_item mt10 color999 f14">
        <div>提现金额（手续费5元/笔）</div>
        <div class="txje">￥<input style="height: 40px;" type="" id="money" name="money" value="1000"/></div>
        <div>可用金额<span>${user.balance}元</span><span class="qbtx" id="quanbu">全部提现</span></div>
    </div>
    <div class="buon" onclick="document.getElementById('tixian').submit();">1-3个工作日到账，确认提现</div>
</form>
</body>
<script type="text/javascript">
    $("#quanbu").click(function () {
        var balance=$("#balance").val();
        $("#money").val(balance);
    })
</script>
</html>
